From c6037adc5c934b9ab97e532415302e50ece962d5 Mon Sep 17 00:00:00 2001 From: Boris Ostrovsky Date: Mon, 15 Apr 2013 11:25:57 +0200 Subject: [PATCH] x86/VPMU: Add Haswell support Initialize VPMU on Haswell CPUs. Signed-off-by: Boris Ostrovsky Reviewed-by: Dietmar Hahn --- xen/arch/x86/hvm/vmx/vpmu_core2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c index 2313e39f62..7c86a0b6b1 100644 --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c @@ -893,6 +893,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags) case 0x3a: /* IvyBridge */ case 0x3e: /* IvyBridge EP */ + case 0x3c: /* Haswell */ ret = core2_vpmu_initialise(v, vpmu_flags); if ( !ret ) vpmu->arch_vpmu_ops = &core2_vpmu_ops; -- 2.30.2